package com.muy.redis.view.component;

import com.intellij.util.ui.JBUI;

import javax.swing.*;
import java.awt.*;

/**
 * @Author jiyanghuang
 * @Date 2023/9/15 22:47
 */
public class MrJSplitPane extends JSplitPane {

    public MrJSplitPane(Component left, Component right) {
        setContinuousLayout(true);
        setResizeWeight(0.5D);
        setDividerSize(0);
        setBorder(JBUI.Borders.empty());

        setLeftComponent(left);
        setRightComponent(right);
    }
}
